﻿using Ebusiness_Application_Contracts.Iservice;
using Ebusiness_Domain.Repository;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;

namespace Ebusiness_Application.Service
{
    [Dependency(ServiceLifetime.Singleton)]
    public class TestService : ITestService
    {
        public ITestRepository testRepository { get; set; }

        public TestService() 
        {
        
        }

        public void Test()
        {
            var ti = this.GetHashCode();
            var rep = testRepository.GetHashCode();
            testRepository.Test();
        }
    }
}
